"""
@author: zjc
@file: lianxi.py
@time: 2022/12/11 17:37
"""


s="asdf234GDSdsf23"
print(list(sorted(s,key=lambda x:(x.isdigit(),
x.isdigit() and int(x)%2==0,x.isupper(),x))))

from functools import reduce
n=[1,2,3,4,5,6]
print(reduce(lambda x,y:x*y,n))

print(list(filter(lambda x:x%3==0,range(1,101))))

print(list(map(lambda x:x**2,range(1,11))))

lst=[1,4,5,9]
print("".join(map(str,lst)))
